<?php

namespace App\Models;

use App\User;
use Illuminate\Database\Eloquent\Model;

class ShoppingOrder extends Model
{
    protected $table = 'shopping_order';

    public function user()
    {
        return $this->belongsTo(User::class);
    }

    public function PickupSite()
    {
        return $this->belongsTo(PickupSite::class, 'site_id');
    }
}
